(function(ns, $, undefined)
{
  ns.gui = {};

  var EDIT_START_HTML = '<a href="';
  var EDIT_END_HTML = '" method="post" class="span1 pull-right">Edit</a>';
  var EDIT_BTN_START_HTML = '<button id="';
  var EDIT_BTN_END_HTML =
    '" class="btn btn-primary span1 pull-right editBtn">Edit</button>';

  ns.gui.buildEditHTML = function(url)
  {
    return EDIT_START_HTML + url + EDIT_END_HTML;
  }

  ns.gui.buildEditButtonHTML = function(id)
  {
    return EDIT_BTN_START_HTML + id + EDIT_BTN_END_HTML;
  }
}(window.utils = window.utils || {}, jQuery));